package com.gaofans.vertx.boot.web.annotation;

import java.lang.annotation.*;

/**
 * 指定要捕获的异常类型
 * @author GaoFans
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
public @interface ExceptionHandler {

    Class<? extends Throwable>[] value();

    int status() default 500;
}
